package com.ctsi.system.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ctsi.common.util.Search;
import com.ctsi.system.entity.NoticeUser;
import com.ctsi.system.mapper.NoticeUserMapper;
import com.ctsi.system.service.INoticeUserService;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 系统用户数据范围表 服务实现类
 * </p>
 *
 * @author wang xiao xiang
 */
@Service
public class NoticeUserServiceImpl extends ServiceImpl<NoticeUserMapper, NoticeUser> implements INoticeUserService {

		@Override
		public IPage<NoticeUser> listPage(Page page, Search search) {
			LambdaQueryWrapper<NoticeUser> queryWrapper = new LambdaQueryWrapper<>();
			return this.baseMapper.selectPage(page, queryWrapper);
		}
}
